package com.app.mapper;

import com.app.entity.po.BookPage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HuibenBookPageMapper extends BaseMapper<BookPage> {

    /**
     * 根据绘本ID查询绘本页列表，按页码升序排序
     * @param bookId 绘本ID
     * @return 绘本页列表
     */
    List<BookPage> selectByBookIdOrderByPageNum(@Param("bookId") Long bookId);
} 